package factorymethod.humanfactory;

import factorymethod.abstractfactory.AbstractFactory;
import factorymethod.human.GreenHuman;
import factorymethod.human.Human;

/**
 * @author heyuduo
 * @date 2022/7/3 17:55
 */
public class GreenHumanFactory extends AbstractFactory {
    @Override
    public Human createHuman() {
        return new GreenHuman();
    }
}
